LGF_TaddrToString (FC / 3.0.1)

Overview

Author: Siemens Digital Industry

Short description

The system data type TADDR_Param contains address information consisting of an IPV4 address and the port number.

The LGF_TaddrToString function converts a TADDR_Param system data type variable to a String data type variable.

Block Interface

LGF_TaddrToString (FC)
TADDR_Param  ipAdressTaddr Ret_Val  String
    
   

Input parameter

IdentifierData type Description
ipAdressTaddrTADDR_Param IP-Address and Port number to convert into string

Output parameter

IdentifierData type Description
Ret_ValString IP-Address and Port number as string

Functional description

The function converts the IPV4 address with or without port number. The system data type TADDR_Param is a structured data type. This structure contains the variable REM_PORT_NR. If this variable is 0, no port is written to the parameter Ret_Val.

Example Result at Ret_Val:

Change log

Version & DateChange description
1.0.0Siemens Industry Online Support
19.01.2017First released version
1.0.1Siemens Industry Online Support
17.08.2018Upgrade: TIA V15 Update 2
1.0.2Industry Online Support
23.11.2018Upgrade: TIA V15.1
1.0.3Simatic Systems Support
17.06.2019Standard header and block parameters update
1.0.4Simatic Systems Support
10.07.2019Refactoring of While to Do/While and constants inserted
1.0.5Simatic Systems Support
30.07.2019Add ENO handling
3.0.0Simatic Systems Support
23.04.2020Set version to V3.0.0
Harmonize the version of the whole library
3.0.1Simatic Systems Support
23.02.2021Insert documentation